#ifndef ELEMENTCONTAINER_H
#define ELEMENTCONTAINER_H

#include "model/element.h"
#include "gui/graphicpainter.h"

namespace model
{
	class ElementContainer : public Element
	{

    public:
	    std::vector<Element*> child_elements;
	public:
		ElementContainer();
		virtual ~ElementContainer();

		void clear();

		void addChild(Element* element);
		bool removeChild(Element* element);

		int count() { return child_elements.size(); }


	protected:
	private:
	};
}
#endif // ELEMENTCONTAINER_H
